package reflect;

import java.io.File;
import java.net.URISyntaxException;

public class Test3 {
    public static void main(String[] args) throws URISyntaxException {
        File file =new File(
                Test3.class.getResource(".").toURI()
        );
        System.out.println(file);
        File[] subs = file.listFiles(f->f.getName().endsWith(".class"));
        for (File sub : subs){
            System.out.println(sub);
        }
    }
}
